package com.yoyo.itravel.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 省份实体类
 * 
 * @author HZX
 * @date 2020年4月25日 下午12:55:43
 */
public class Province implements Serializable {

	private String provinceId; // 省份id
	private String provinceName; // 省份名称

	private String countryId; // 省份所属国家id
	private Country country; // 国家对象

	private List<City> city; // 该省份下所有城市集合

	public Province() {
		super();
	}

	public Province(String provinceId, String provinceName, String countryId, Country country, List<City> city) {
		this.provinceId = provinceId;
		this.provinceName = provinceName;
		this.countryId = countryId;
		this.country = country;
		this.city = city;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCountryId() {
		return countryId;
	}

	public void setCountryId(String countryId) {
		this.countryId = countryId;
	}

	public Country getCountry() {
		return country;
	}

	public void setCountry(Country country) {
		this.country = country;
	}

	public List<City> getCity() {
		return city;
	}

	public void setCity(List<City> city) {
		this.city = city;
	}

	@Override
	public String toString() {
		return "Province{" +
				"provinceId='" + provinceId + '\'' +
				", provinceName='" + provinceName + '\'' +
				", countryId='" + countryId + '\'' +
				", country=" + country +
				", city=" + city +
				'}';
	}
}
